package com.wyt.dao.mapper;

import com.wyt.pojo.Services;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ServicesMapper {
    // 按照服务id，返回服务信息
    Services findService(int serviceId);

    // 返回全部服务
    List<Services> findAllServices();
}
